format ELF executable

entry start

segment readable writeable
  _welcome db 'welcome msg',0xA
  _wLen = $-_welcome
  _input rb 0x100

segment readable executable

start:
  mov	eax,4
  mov	ebx,1
  mov	ecx,_welcome
  mov	edx,_wLen
  int	0x80

  mov	eax,3
  mov	ebx,0
  mov	ecx,_input
  mov	edx,0x100
  int	0x80

  mov	eax,4
  mov	ebx,1
  mov	ecx,_input
  mov	edx,0x100
  int	0x80

  mov 	eax,1
  xor	ebx,ebx
  int	0x80
